*****************
**** Table 5 ****
*****************

use "$data/telephone_surveydata_ready" , clear

local controls teamdummy* firststickerdummy* preratiow1 lastdebt_demeanedw1 prepaymentsmadedummy*  

log using "$output/table 5", replace

reg q8normalized c.timepassed##i.treatmentidentitynew  `controls'  if treatmentall!=0, vce(cluster dayteam) 

oprobit q8 c.timepassed##i.treatmentidentitynew  `controls' if treatmentall!=0, vce(cluster dayteam) 

log close
